package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 *@Author: 布莱恩
 *@Date: 2025/10/11 22:41
 *@Description:
 **/
@Slf4j
@Component("contractJob")
public class ContractJob {

    @Autowired
    private IContractService contractService;

    public void updateContractStatus() {
        contractService.updateContractStatus();
        log.info("更新合同状态完成");
    }

}
